/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package edu.chl.groupofdoom.beans;

import edu.chl.groupofdoom.entities.User;
import java.io.Serializable;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.SessionScoped;

/**
 * SessionScoped bean for storage of a User-object
 * 
 * @author Martin Agfjord
 */
@ManagedBean(name = "UserBean")
@SessionScoped
public class UserBean implements Serializable{

    private User user;

    /** Creates a new instance of User */
    public UserBean() {}

    /* Get & Set methods */

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }
}
